package com.top.art.converter;

import com.top.art.entity.ExaminationPaper;
import com.top.art.vo.PaperQueryVO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * The interface Examination paper converter.
 *
 * @author hjh
 * @version 2020 /10/7-11:48
 */
@Mapper(componentModel = "spring")
public interface ExaminationPaperConverter {

    /**
     * Do 2 vo paper query vo.
     *
     * @param model the model
     * @return the paper query vo
     */
    PaperQueryVO do2vo(ExaminationPaper model);

    /**
     * Dos 2 vos list.
     *
     * @param dos the dos
     * @return the list
     */
    List<PaperQueryVO> dos2vos(List<ExaminationPaper> dos);
}
